package com.im.utils.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 查询条件
 *
 * @author yezhiqiu
 * @date 2021/07/29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "查询条件")
public class ConditionDTO {

    @Schema(name = "current", description = "页码", example = "1")
    private Long current;

    @Schema(name = "size", description = "条数", example = "10")
    private Long size;

    @Schema(name = "keywords", description = "搜索内容", example = "关键字")
    private String keywords;
}